package cn.itcast.java.sports;

/**
 * Author itcast
 * Date 2021/10/9 15:18
 * Desc TODO
 */
public class PingpangPlayer extends Player implements Speak {

    @Override
    public void study() {
        System.out.println("学习乒乓球");
    }

    @Override
    public void eat() {
        System.out.println("乒乓球队员 eat...");
    }

    @Override
    public void speakEnglish() {
        System.out.println("乒乓球队员学英语");
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
